﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Data
{
    public class MasterWarpPoint
    {
        #region Attributes
        public string name;
        private Guid wpId;
        private Guid destinationId;

        private MapIndex location;
        #endregion

        #region Properties
        public Guid WarpPointId
        {
            get { return wpId; }
        }
        public Guid DestinationId
        {
            get { return destinationId; }
        }
        public MapIndex Location
        {
            get { return location; }
            set { location = value; }
        }
        #endregion

        #region Constructors
        public MasterWarpPoint(Guid destination, string name)
        {
            wpId = Guid.NewGuid();
            destinationId = destination;
        }
        #endregion

        public override string ToString()
        {
            return name + " (" + wpId.ToString() + ")";
        }
    }
}
